package com.chixing.Homework;

public class Account1Test {
    public static void main(String[] args) {

        Account1 s= new Account1(5164615616464114L,"Smith",123456,12345.10,0);
        Account1 s1= new Account1(5164615616464114L,"Smith",123456,12345.10,0);
        Account1 s2= new Account1(5164615616464114L,"Smith",123456,12345.10,0);
        Account1 s3= new Account1(5164615616464114L,"Smith",123456,12345.10,0);
        Account1 s4= new Account1(5164615616464114L,"Smith",123456,12345.10,0);
        Account1 s5= new Account1(5164615616464114L,"Smith",123456,12345.10,0);
        Account1 s6= new Account1(5164615616464114L,"Smith",123456,12345.10,0);

        System.out.println("\n");

        Account1 s7= new Account1(5164615616464114L,"Smith",123456,12345.10,1);
        Account1 s8= new Account1(5164615616464114L,"Smith",123456,12345.10,1);
        Account1 s9= new Account1(5164615616464114L,"Smith",123456,12345.10,1);

        s.Rand(10);
        s1.Rand(10);
        s2.Rand(10);
        s3.Rand(10);
        s4.Rand(10);
        s5.Rand(10);
        s6.Rand(10);
        s7.Rand(10);
        s9.Rand(10);
        s8.Rand(10);



        //在1~10直接随机生成数
        for(int i=0;i<10;i++){
            System.out.println((int)(Math.random()*9+1));
        }
        System.out.println("\n");
        //0:1=7:3
//
           for(int j=0;j<7;j++){
               System.out.println(0);
           }
           for(int j=7;j<10;j++){
               System.out.println(1);
           }

















    }
}
